package com.fortune.vo.cOrder;

import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;

public class DDCOrderDetail {
    @ApiModelProperty(example = "厂商简称")
    private String abbreviation;
    @ApiModelProperty(example = "商品id")
    private String mpid;
    @ApiModelProperty(example = "商品名称")
    private String name;
    @ApiModelProperty(example = "商品数量")
    private float orderNum;
    @ApiModelProperty(example = "商品金额")
    private float price;
    @ApiModelProperty(example = "回空箱数")
    private float backBoxNum;
    @ApiModelProperty(example = "押金金额")
    private BigDecimal dprice;
    private boolean cOrderStatus = true;

    public String getAbbreviation() {
        return abbreviation;
    }

    public void setAbbreviation(String abbreviation) {
        this.abbreviation = abbreviation;
    }

    public String getMpid() {
        return mpid;
    }

    public void setMpid(String mpid) {
        this.mpid = mpid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public float getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(float orderNum) {
        this.orderNum = orderNum;
    }

    public float getPrice() {
        return price;
    }

    public void setPrice(float price) {
        this.price = price;
    }

    public float getBackBoxNum() {
        return backBoxNum;
    }

    public void setBackBoxNum(float backBoxNum) {
        this.backBoxNum = backBoxNum;
    }

    public BigDecimal getDprice() {
        return dprice;
    }

    public void setDprice(BigDecimal dprice) {
        this.dprice = dprice;
    }

    public boolean iscOrderStatus() {
        return cOrderStatus;
    }

    public void setcOrderStatus(boolean cOrderStatus) {
        this.cOrderStatus = cOrderStatus;
    }

    @Override
    public String toString() {
        return "DDCOrderDetail{" +
                "abbreviation='" + abbreviation + '\'' +
                ", mpid='" + mpid + '\'' +
                ", name='" + name + '\'' +
                ", orderNum=" + orderNum +
                ", price=" + price +
                ", backBoxNum=" + backBoxNum +
                ", dprice=" + dprice +
                ", cOrderStatus=" + cOrderStatus +
                '}';
    }
}
